import { createStore } from 'vuex'
import menu from './menu'
import createPersistedState from 'vuex-persistedstate'

export default createStore({
  plugins:[new createPersistedState({
    key: 'pzadmin', // 存储的键名
  })],
  modules: {
    menu,
  },
})
